package com.ruoyi.website.gateway.feign;

import com.ruoyi.common.core.web.domain.AjaxResult;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.Parameters;
import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

//@FeignClient(name = "ruoyi-forum")
public interface CircleLabelService {

    @Operation(summary = "获取话题标签列表", description = "获取话题标签列表")
    @Parameters({
            @Parameter(name = "page", description = "页码", schema = @Schema(type = "int")),
            @Parameter(name = "rows", description = "条数", schema = @Schema(type = "int"))
    })
    @RequestMapping(value = "circle/label/list", method = RequestMethod.GET)
    public AjaxResult getLabelList(@RequestParam(value = "page", defaultValue = "1", required = false) Integer page,
                                   @RequestParam(value = "rows", defaultValue = "10", required = false) Integer rows);


}